package com.hhs.storage.controller;


import com.hhs.storage.bean.Car;
import com.hhs.storage.bean.CarLog;
import com.hhs.storage.bean.InputParam;
import com.hhs.storage.service.CarLogService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hhs
 * @since 2023-03-15
 */
@RestController
@RequestMapping("/carLog")
public class CarLogController {
    @Resource
    private CarLogService carLogService;
    @RequestMapping(value = "table")
    public Map<String, Object> getAll(CarLog carLog, InputParam inputParam) {
        return carLogService.getAll(carLog,inputParam);
    }

}

